﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace JohnnySins.Entities
{
    public class RecentScene
    {
        public int RecentSceneId { get; set; }
        public string RecentSceneTitle { get; set; }
        public string RecentSceneFileName { get; set; }
        
        private string poster;
        public string Poster
        {
            get
            {
                return poster;
            }
            set
            {
                poster = value.Replace(' ', '-');
            }
        }

        public bool IsActive { get; set; }
        public bool Selected { get; set; }
        public string Status
        {
            get
            {
                return IsActive ? "Active" : "Deactivate";
            }
        }
        public string PhysFileName
        {
            get
            {
                return RecentSceneId.ToString() + "-" + RecentSceneFileName;
            }
        }
        public string PhysPoster
        {
            get
            {
                return RecentSceneId.ToString() + "-" + Poster;
            }
        }

    }
}
